Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing Meshes


Q3Mesh_GetOrientable

You can use the Q3Mesh_GetOrientable function to determine whether the faces of a mesh can be consistently oriented.

TQ3Status Q3Mesh_GetOrientable (
TQ3GeometryObject mesh, 
TQ3Boolean *orientable);
mesh
A mesh.
orientable
On exit, a Boolean value that indicates whether the faces of the specified mesh can be consistently oriented.
DESCRIPTION
The Q3Mesh_GetOrientable function returns, in the orientable parameter, the value kQ3True if the faces of the mesh specified by the mesh parameter can be consistently oriented; Q3Mesh_GetOrientable returns kQ3False otherwise. For example, the faces of a tessellated Möbius strip or a Klein bottle cannot be consistently oriented.

SPECIAL CONSIDERATIONS
The Q3Mesh_GetOrientable function might not accurately report the orientation state of a mesh if called while mesh updating is delayed (that is, after a call to Q3Mesh_DelayUpdates but before the matching call to Q3Mesh_ResumeUpdates).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996